const Router = require('koa-router')

const BannerRouter = new Router()

const {
  list,
  BannerShowImgInfo
} = require('../controllers/banner.controller')

const {
  HandleBannerShowImg
} = require('../middlewares/banner.middleware')

BannerRouter.get('/banner', list)
BannerRouter.get('/banner/:bannerShowImg', HandleBannerShowImg, BannerShowImgInfo)


module.exports = BannerRouter